//: Playground - noun: a place where people can play

import UIKit

var a = 9;

// while
while a>0 {
    print("while \(a)")
    a -= 1;
}

// repeat while
repeat {
    a += 1
    print("repeat \(a)")
}while a < 10



